package com.tenxun.service;

import com.tenxun.mapper.StuMapper;
import com.tenxun.pojo.Stu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StuServiceImpl implements StuService{

    @Autowired
    private StuMapper stuMapper;

    @Override
    public List<Stu> list(Integer num) {
        return stuMapper.list(num);
    }
}
